/* You can add global styles to this file, and also import other style files */
@import "./scss/brower";

@import "~font-awesome/css/font-awesome.css";
@import "./scss/colors.scss";

body {
	min-width: 1300px;
}

.my-cz {
	a {
		color: #4A92FF;
		margin-right: 5px;
	}
}

.my-tab-hed {
	font-size: 24px;
	font-family: Microsoft YaHei;
	font-weight: 400;
	color: rgba(51, 51, 51, 1);
	div{
		i{
			color: #4ADCAA;
		}
		text-align: right;
	}
}

.ant-layout-header {
	padding: 0;
}

.icons-list {
	background: {
		color: rgba(255, 205, 210, 1);
	}
}

.breadcrumb {
	margin-bottom: 10px;

	a {
		width: 20px;
		height: 20px;
		display: inline-block;
		background: #fff;
		border-radius: 4px;
		line-height: 20px;
		text-align: center;
		position: relative;
		margin-right: 10px;
		vertical-align: middle;
		&:before {
			position: absolute;
			left: 50%;
			top: 50%;
			transform: translate(-50%, -50%);
			color: #F1F1F1;
			display: block;
			font-size: 30px;
			height: 30px;
			line-height: 25px;
		}

		&.prev {
			&:before {
				content: "‹";
			}

		}

		&.next {
			&:before {
				content: "›";
			}
		}

		&:hover {
			&:before {
				color: rgba(255, 205, 210, 1);
			}
		}
	}
	span{
		font-size: 18px;
		font-weight: bold;
		vertical-align: top;
	}
}

.model-header {
	border-top-right-radius: $radius-size;
	border-top-left-radius: $radius-size;

	.header-head {
		border-bottom: $border-line;
		border-top-right-radius: $radius-size;
		border-top-left-radius: $radius-size;
		background: $bg-color;
		line-height: 71px;

		.head-bark {
			cursor: pointer;
			text-align: center;
			font-size: $f-size;
			padding: 0 32px;

			i {
				color: $span-color;
				border-right: $border-line;
				font-size: $f-size + 3;
				padding-right: 32px;
			}
		}

		h3 {
			color: $title-color;
			padding-left: 24px;
		}
	}

	.model-body {
		background: $bg-color;
		margin: 10px 20px;
		padding: 20px;

		.account-table,
		.body-totel,
		.body-top {
			padding: 20px 29px;
		}

		.from-footer {
			button {
				margin-right: 5px;
			}
		}

		.model-btn {
			padding: 3px 10px;

			button {
				margin: 0 5px;
			}
		}
	}
}
.ant-table-fixed-header > .ant-table-content > .ant-table-scroll > .ant-table-body{
	background: none;
}
.pannel-default {
	background: #fff;
	padding: 30px;
}


.body-left {
	overflow: hidden;

	.ant-layout-sider-children {
		overflow: auto;
		width: 220px;
	}
}

// 弹框样式变更
.my-modal-c {
	.ant-modal-header {
		background: #3171b7;
		text-align: center;

		.ant-modal-title {
			color: #fff;
		}
	}
}

.tab-head {
	margin-bottom: 10px;
    background: #fff;
    padding:30px;
    border-radius:8px;
    display: flex;
	> button.ant-btn {
		border: none;
		border-radius: 15px;
		margin-right: 20px;
		margin-left: 0;

		&.noradius {
			border-radius: 3px;
		}
	}
	> .ant-input {
		border-radius: 15px;
		border-color: #fff;
		margin-right: 20px;
		margin-left: 0;
    }
    >div{
        padding-right: 15px;
        flex-grow:0;
        &:last-child{
            flex-grow:1;
            text-align: right;
            padding-right: 0;
        }
        label{
            margin-right: 8px;
        }
        .ant-btn{
            padding-left: 30px;
            padding-right: 30px;
        }
    }
}
.tab-title{
    font-size: 18px;
    color:#333;
    line-height: 30px;
    margin-top: 20px;
    a{
        float: right;
        font-size: 16px;
        padding-left: 25px;
        background-image: url(./assets/img/icon-add.png);
        background-repeat: no-repeat;
        background-position: left center;
        background-size: auto 18px;
        height: 30px;
        line-height: 30px;
        color:#333;
        &:hover{
            color:rgba(255,205,210,1);
        }
    }
}

.ant-layout {
	background: #f4f8fb;
}


nz-table.ant-table-wrapper.medical-table {

	&.small-table {
		.ant-table-tbody>tr>td {
			padding-top: 5px;
			padding-bottom: 5px;
		}
	}

	.ant-table {
		&.ant-table-small {
			border: none;

			>.ant-table-content {
				>.ant-table-body {
					margin: 0;
				}

				.ant-table-thead {
					>tr {
						>th {
							padding: 16px 8px;
							border-bottom: none;
						}
					}
				}
			}
		}

		>.ant-table-content {
			table {
				border-spacing: 0px 10px;

				tr {
					background: #fff;
					border-radius: 8px;
				}
			}
		}
	}

	.ant-table-tbody {
		>tr {
			cursor: pointer;

			>td {
				white-space: pre-line;
				word-break: break-all;
				border-bottom: none;
                a{
                    margin:0 8px;
                }
				span.checkbox {
					width: 16px;
					height: 16px;
					border: 1px solid #eee;
					border-radius: 4px;
					background: #fff;
					display: block;
					font-size: 12px;
					text-align: center;
					line-height: 12px;
					font-weight: bold;

					i {
						display: none;
					}

					&.active {
						border-color: #3171b7;
						background: #3171b7;

						i {
							display: inline;
						}
					}
				}

				&:first-child {
					border-radius: 8px 0 0 8px;
				}

				&:last-child {
					border-radius: 0 8px 8px 0;
				}
			}

			&:hover {
				td {
					background: #e6f7ff;
				}
			}

			&.selectedRow {
				td {
					background: #3974b4;
					color: #fff;

					a {
						color: #fff;
					}
				}
			}
		}
	}

	.ant-table-thead {
		>tr {
			>th {
				background: #fff;
				border-bottom: none;
				font-weight: bold;

				&:first-child {
					border-radius: 8px 0 0 8px;
				}

				&:last-child {
					border-radius: 0 8px 8px 0;
				}
			}
		}
	}

	.ant-table-pagination.ant-pagination {
		float: none;
		margin: 16px 0;
		display: block;
		width: 100%;
		text-align: center;
	}
}

.pannel {
	padding: 20px 20px 0 20px;
	background: #fff;
	border-radius: 10px;
	margin-top: 10px;

	.pannel-head {
		font-size: 16px;
		height: 18px;
		line-height: 18px;
		border-left: 2px solid #3171b7;
		margin-bottom: 20px;
		padding-left: 10px;
		font-weight: bold;
		color: #333;
	}

	.pannel-body {
		div[nz-col] {
			font-size: 14px;
			color: #333;
			padding-bottom: 20px;

			label {
				color: #999999;
				font-size: 14px;
			}
		}

		nz-table {
			padding-bottom: 20px;
		}
	}
}

.ant-descriptions-item-label {
	font-size: 14px;
	color: #999999;
}

.ant-descriptions-item-content {
	font-size: 14px;
	color: #333;
}

.ant-menu {
	border-radius: 8px;

	.ant-menu-submenu {
		&:first-child {
			border-radius: 8px 8px 0 0;
		}

		&:last-child {
			border-radius: 0 0 8px 8px;
		}

		.ant-menu-submenu-arrow {
			display: none;
		}
	}

}

.tour-form{
	padding: 0 12px;
    .ant-row[nz-row]{
        background: #fff;
        padding: 30px 15px;
        border-radius: 8px;
        margin-bottom: 10px;
        nz-form-label.ant-form-item-label{
            width: 100px;
            line-height: 50px;
			position: relative;
			flex-shrink: 0;
            span{
                position: absolute;
                display: block;
                width: 90%;
                font-size: 12px;
                color: #ccc;
                line-height: normal;
                top: 25px;
                white-space: pre-wrap;
                text-align: left;
            }
        }
        nz-form-item{
            margin-bottom: 0;
        }
        nz-form-control{
            .ant-form-item-control{
                line-height: 50px;
                .ant-tag-checkable:not(.ant-tag-checkable-checked){
                    background: #eaeaea;
                }
                nz-upload{
                    .ant-upload-list-picture-card{
                        .ant-upload-list-item{
                            width: 160px;
                            height: 120px;
                            overflow: hidden;
                            padding: 0;
                            border: 0;
                        }
                        .ant-upload-list-item-thumbnail{
                            position: absolute;
                            display: block;
                            width: 100%;
                            height: 100%;
                            left: 0;
                            top: 0;
                        }
                    }
                    .ant-upload.ant-upload-select-picture-card{
                        width: 160px;
                        height: 120px;
                    }
                }
                
            }
            flex-grow: 1;
        }
	}
	&.user-form{
		.ant-row[nz-row]{
			nz-form-label.ant-form-item-label{
				width: 160px;
			}
			nz-form-control{
				width: 420px;
    			flex-grow: 0;
			}
		}
	}
    .cz{
        margin-left: -10px;
        margin-top: 30px;
        .submit-btn{
            display: inline-block;
            width: 180px;
            height: 42px;
            background: #FCCC5B;
            border-radius:21px;
            color: #333;
            text-align: center;
            font-size: 18px;
            line-height: 42px;
            padding:0;
            margin-right: 25px;
            &:hover{
                background: darken(#FCCC5B, 8%);
            }
            &:active{
                background: darken( #FCCC5B, 20%);
            }
        }
        .default-btn{
            display: inline-block;
            width: 180px;
            height: 42px;
            background: #EAEAEA;
            border-radius:21px;
            color: #333;
            text-align: center;
            font-size: 18px;
            line-height: 42px;
            padding:0;
            &:hover{
                background: darken( #EAEAEA, 8%);
            }
            &:active{
                background: darken( #EAEAEA, 20%);
            }
        }
        
    }
}
.tour-detail{
	padding: 30px 12px;
	border-radius: 8px;
	background: #fff;
    .ant-row[nz-row]{
        padding: 5px 15px;
        nz-form-label.ant-form-item-label{
            width: 100px;
            line-height: 50px;
			position: relative;
			flex-shrink: 0;
			>label{
				color:#999999;
			}
            span{
                position: absolute;
                display: block;
                width: 90%;
                font-size: 12px;
                color: #ccc;
                line-height: normal;
                top: 25px;
                white-space: pre-wrap;
                text-align: left;
            }
        }
        nz-form-item{
            margin-bottom: 0;
        }
        nz-form-control{
			nz-form-text{
				line-height: 30px;
				color:#333;
			}
            .ant-form-item-control{
                line-height: 50px;
                .ant-tag-checkable:not(.ant-tag-checkable-checked){
                    background: #eaeaea;
                }
                
            }
            flex-grow: 1;
        }
    }
    .cz{
        margin-left: -10px;
        margin-top: 30px;
        .submit-btn{
            display: inline-block;
            width: 180px;
            height: 42px;
            background: #FCCC5B;
            border-radius:21px;
            color: #333;
            text-align: center;
            font-size: 18px;
            line-height: 42px;
            padding:0;
            margin-right: 25px;
            &:hover{
                background: darken(#FCCC5B, 8%);
            }
            &:active{
                background: darken( #FCCC5B, 20%);
            }
        }
        .default-btn{
            display: inline-block;
            width: 180px;
            height: 42px;
            background: #EAEAEA;
            border-radius:21px;
            color: #333;
            text-align: center;
            font-size: 18px;
            line-height: 42px;
            padding:0;
            &:hover{
                background: darken( #EAEAEA, 8%);
            }
            &:active{
                background: darken( #EAEAEA, 20%);
            }
        }
        
	}
	.guide-list{
		list-style-type: none;
		padding:0;
		margin-top: 20px;
		display: flex;
		li{
			margin-right: 30px;
			p{
				text-align: center;
				font-size: 18px;
				font-weight: bold;
			}
		}
	}
}
@media screen and (max-width: 1366px){
	.tab-head{
		padding:10px 30px;
	}
	.ant-table-thead > tr > th, .ant-table-tbody > tr > td{
		padding:8px 16px;
	}
	nz-table.ant-table-wrapper.medical-table .ant-table > .ant-table-content table{
		border-spacing: 0px 5px;
	}
}

nz-date-picker.ng-dirty.ng-invalid{
	.ant-input{
		border-color: #f5222d;
	}
}